package com.freecloud.bitorrent.domain.server.command;

import com.freecloud.bitorrent.demo.bo.RequestMessage;
import com.freecloud.bitorrent.demo.bo.ResponseMessage;
import com.freecloud.bitorrent.domain.server.support.DhtCommand;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: maomao
 * @Date: 2022/7/23 5:00 PM
 */
@Slf4j
@Component("announce_peer")
public class AnnouncePeerCommand implements DhtCommand {
    @Override
    public ResponseMessage response(RequestMessage requestMessage) {
        log.info("announce_peer requestMessage : {}", requestMessage);
        return null;
    }
}
